home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17285 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  946 b 

  1. Path: info.bta.net.cn!usenet
  2. From: jafd@public.sta.net.cn
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: int::~int()
  5. Date: Mon, 15 Apr 1996 09:41:55 +0900
  6. Organization: Beijing Telegraph Administration
  7. Message-ID: <31719B53.402D@public.sta.net.cn>
  8. References: <317083F7.116E@public.sta.net.cn> <ltlojzns3u.fsf@kitz.inferenzsysteme.informatik.th-darmstadt.de>
  9. NNTP-Posting-Host: ts1-9.sta.net.cn
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win95; I)
  14.  
  15. Enno Sandner wrote:
  16. ...
  17. > It's legal C++ (check out DWP 12.4:12) and e.g. g++2.6.3
  18. > compiles this code without any problems.
  19. > The explicit invocation of the int-dtor has no effect.
  20. >         Enno
  21.  
  22. I found that both Borland C++ 4.x and Visual C++ 4.0 can't
  23. compile it! 
  24.  
  25. but Watcom C++ 10.0 can compile it.
  26.  
  27. it is strange, both BC++4.x and Visual C++4.0 are newer that
  28. Watcom C++ 10.0, but why can't they compile it?
  29.  
  30. XuYifeng
  31.